/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ProjectStateEnum extends StringEnum
{
    public static final String UNSTART_VALUE = "10";
    public static final String STARTING_VALUE = "20";
    public static final String CLOSED_VALUE = "30";

    public static final ProjectStateEnum unStart = new ProjectStateEnum("unStart", UNSTART_VALUE);
    public static final ProjectStateEnum starting = new ProjectStateEnum("starting", STARTING_VALUE);
    public static final ProjectStateEnum closed = new ProjectStateEnum("closed", CLOSED_VALUE);

    /**
     * construct function
     * @param String projectStateEnum
     */
    private ProjectStateEnum(String name, String projectStateEnum)
    {
        super(name, projectStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ProjectStateEnum getEnum(String projectStateEnum)
    {
        return (ProjectStateEnum)getEnum(ProjectStateEnum.class, projectStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ProjectStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ProjectStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ProjectStateEnum.class);
    }
}